import request from "@/utils/request";

// let baseUrl = 'http://10.168.1.222:8064'
let baseUrl = ''

// let baseUrl = 'http://10.168.1.123:8064'


export function advanceSummaryRegulation(data) {
  return request({
    url:  baseUrl + "/freq/summary/advanceSummaryRegulation",
    method: "post",
    data:data || {}
  });
}
export function getSummaryRegulation(data) {
  return request({
    url:  baseUrl + "/freq/summary/summaryRegulation",
    method: "post",
    data:data || {}
  });
}


// export function getPhotovoltaicList(data) {
//   return request({
//     url: baseUrl + "/freq/stationInfo/queryEnergyStationInfo",
//     method: "post",
//     data
//   });
// }
// 鼠标浮入渲染饼图
export function queryOrgRegulationRate(data) {
  return request({
    url:  baseUrl + "/freq/summary/queryOrgRegulationRate",
    method: "post",
    data:data || {}
  });
}


// 区分调度、场站机组类型汇总机组数表格
export function summaryRegulationTable(data) {
  return request({
    url:  baseUrl + "/freq/summary/summaryRegulationTable",
    method: "post",
    data:data || {}
  });
}